package com.vcredit.creditcat.service.speedloan;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.vcredit.creditcat.model.ProcessSpecialCust;
import com.vcredit.creditcat.persistence.base.ProcessSpecialCustMapper;

/**
 * 
 **/
@Service
public class ProcessSpecialCustService {
	@Autowired
	private ProcessSpecialCustMapper mapper;

	public void insert(ProcessSpecialCust obj) {
		mapper.insert(obj);
	}
    
    public void update(ProcessSpecialCust obj){
    	mapper.update(obj);
    }
    
    public List<ProcessSpecialCust> findAll(){
		return mapper.findAll();
	}
	
	public List<ProcessSpecialCust> find(ProcessSpecialCust obj){
		return mapper.find(obj);
	}

	public List<ProcessSpecialCust> findBySpecialIdAndStatus(ProcessSpecialCust obj){
		return mapper.findBySpecialIdAndStatus(obj);
	}
	
	public ProcessSpecialCust findForUpdate(ProcessSpecialCust obj){
		return mapper.findForUpdate(obj);
	}
}